<template>
  <div class="index">
    <van-button type="default">默认按钮</van-button>
    <van-button type="primary">主要按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button>
  </div>
</template>

<script>
  export default {
    onLoad() {
      wx.setNavigationBarTitle({
        title: '首页'
      })
    },
    data () {
      return {
        active: 1
      }

    }
  }

</script>

<style lang='scss' scoped>
  .index {
    height: 100%;
  }
</style>
